<?php
/**
 * +-------------------------------------------------------------
 * |Caption:
 * +-------------------------------------------------------------
 * |Author: Lenny
 * +-------------------------------------------------------------
 * |Email:  1685964109@qq.com
 * +-------------------------------------------------------------
 * |Date:   2024/7/20 下午2:00
 * +-------------------------------------------------------------
 */

namespace app\admin\controller;

use app\admin\model\GroupFile;
use app\common\controller\AdminController;
use app\common\service\annotation\NodeAnnotation;
use app\common\traits\UploadTrait;
use think\App;
use app\common\service\annotation\ControllerAnnotation;
use app\common\validate\UploadValidate;
use think\response\Json;

/**
 * @ControllerAnnotation(title="文件管理")
 */
class Upload extends AdminController
{
    use UploadTrait;

    public function __construct(App $app)
    {
        parent::__construct($app);
        $this->validateClass = UploadValidate::class;
        $this->model         = new GroupFile();
    }
}